package com.ruoyi.control.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; //添加
import com.ruoyi.common.constant.ScheduleConstants;
import com.ruoyi.control.domain.MonkeyVehicle;

/**
 * 猴车Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-13
 */
public interface MonkeyVehicleMapper extends BaseMapper<MonkeyVehicle> //修改
{
    /**
     * 查询猴车
     *
     * @param tagName 猴车主键
     * @return 猴车
     */
    public MonkeyVehicle selectMonkeyVehicleByTagName(String tagName);

    /**
     * 查询猴车列表
     *
     * @param monkeyVehicle 猴车
     * @return 猴车集合
     */
    public List<MonkeyVehicle> selectMonkeyVehicleList(MonkeyVehicle monkeyVehicle);

    /**
     * 新增猴车
     *
     * @param monkeyVehicle 猴车
     * @return 结果
     */
    public int insertMonkeyVehicle(MonkeyVehicle monkeyVehicle);

    /**
     * 修改猴车
     *
     * @param monkeyVehicle 猴车
     * @return 结果
     */
    public int updateMonkeyVehicle(MonkeyVehicle monkeyVehicle);

    /**
     * 删除猴车
     *
     * @param tagName 猴车主键
     * @return 结果
     */
    public int deleteMonkeyVehicleByTagName(String tagName);

    /**
     * 批量删除猴车
     *
     * @param tagNames 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMonkeyVehicleByTagNames(String[] tagNames);

    void updateBatch(List<MonkeyVehicle> monkeyVehicleList);

    MonkeyVehicle selectMonkeyVehicleByDescription(String description);

    List<MonkeyVehicle> selectMonkeyVehicleByLikeDescription(String description);
}
